package com.example.springboot_demo.service;
public class UserServiceImpl implements UserService{
    @Override
    public void addUser(String username) {
        System.out.println("添加用户: " + username);
    }

    @Override
    public String getUser(String userId) {
        System.out.println("查询用户: " + userId);
        return "User:" + userId;
    }
}